import clientFunc from "./client.func"
import CoordinateConverter from "./CoordinateConverter"

export default class ClientInterface {
  coordinateConverter: any
  constructor() {
    this.coordinateConverter = new CoordinateConverter()
  }
  build() {
    return {
      Conversion: {
        worldToScreen:
          ((t = this.coordinateConverter),
          function (e, s, i, r) {
            return t.setCameraFromPose(s), t.worldToScreen(e, i, r)
          })
      },
      Mattertag: { getDiscPosition: clientFunc.$ }
    }
    var t
  }
}
